package com.memo4android.ui;

import com.memo4android.R;

import android.app.Dialog;
import android.content.Context;
import android.view.View;
import android.widget.Button;

public class BoxErrorMessage extends Dialog implements android.view.View.OnClickListener {

	public BoxErrorMessage(Context context) {
		super(context);
		this.setContentView(R.layout.frame_error_message);
		Button buttonOK=(Button)findViewById(R.id.buttonOkErrrorMessage);
		buttonOK.setOnClickListener(this);
		 
		this.setTitle("ERROR");
		
		// TODO Auto-generated constructor stub
	}

	@Override
	public void onClick(View v) {
		// TODO Auto-generated method stub
		switch(v.getId()){
		
		case R.id.buttonOkErrrorMessage:
			this.dismiss();
			break;
		}
		
	}

}
